package com.example.hand.service;

import com.example.hand.bean.PageBean;
import com.example.hand.bean.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.scheduling.annotation.Scheduled;

import java.util.List;

public interface UserService {
    User getLogin(@Param("user_name") String user_name, @Param("user_password") String user_password);
    int saveUserInfo(User user);
    List<User> findByUser(String user_name,String user_password,String user_age ,String user_sex);

    PageBean userPage(int currentPage);//分页查询
}
